﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChainOfResponsibilityPattern.DemoTwo
{
    public class Husband : Handler
    {
        public Husband() : base(Handler.HUSBAND_LEVEL_REQUEST)
        {
        }
        
        public override void response(IWomen women)
        {
            Console.WriteLine("-------妻子向丈夫請示--------");
            Console.WriteLine(women.getRequest());
            Console.WriteLine("同意");
        }
    }
}
